package com.spring.cn.config;

import java.io.Serializable;

/**
 * @author liangd
 * date 2020-11-12 15:44
 * code
 */
public class UserBean implements Serializable {
    /**
     * 用户名
     */
    private String username;
    /**
     * 年龄
     */
    private int age;

    public UserBean() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "UserModel{" +
                "username='" + username + '\'' +
                ", age=" + age +
                '}';
    }
}
